package pdm;

public class StoreItem implements Comparable<StoreItem>{
	public double alpha;
	public double flaeche;
	
	public StoreItem(double alpha, double flaeche) {
		super();
		this.alpha = alpha;
		this.flaeche = flaeche;
	}

	@Override
	public int compareTo(StoreItem o) {
		if(this.flaeche > o.flaeche){
			return 1;
		}
		else{
			return -1;
		}
	}	
}
